package com.ruoyi.lqm.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 商品分类对象 lqm_categorys
 * 
 * @author dell
 * @date 2019-09-30
 */
public class LqmCategorys extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Integer id;

    /** null */
    @Excel(name = "null")
    private String name;

    /** null */
    @Excel(name = "null")
    private String parentId;

    /** null */
    @Excel(name = "null")
    private String path;

    /** null */
    @Excel(name = "null")
    private Long orders;

    /** null */
    @Excel(name = "null")
    private String isShown;

    /** null */
    @Excel(name = "null")
    private String isHot;

    /** null */
    @Excel(name = "null")
    private String fontIcon;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setOrders(Long orders)
    {
        this.orders = orders;
    }

    public Long getOrders()
    {
        return orders;
    }
    public void setIsShown(String isShown) 
    {
        this.isShown = isShown;
    }

    public String getIsShown() 
    {
        return isShown;
    }
    public void setIsHot(String isHot) 
    {
        this.isHot = isHot;
    }

    public String getIsHot() 
    {
        return isHot;
    }
    public void setFontIcon(String fontIcon) 
    {
        this.fontIcon = fontIcon;
    }

    public String getFontIcon() 
    {
        return fontIcon;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("parentId", getParentId())
            .append("path", getPath())
            .append("orders", getOrders())
            .append("isShown", getIsShown())
            .append("isHot", getIsHot())
            .append("fontIcon", getFontIcon())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
